package com.example.service;

import com.example.entity.BsPartner;
import com.example.repository.BsPartnerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BsPartnerService {
    @Autowired
    private BsPartnerRepository bsPartnerRepository;

    public BsPartner findByPartnerId(Integer id){
        return bsPartnerRepository.findOne(id);
    }
}
